//
//  PluPlu.h
//  X-Touch2
//
//  Created by shengchao yang on 12-3-12.
//  Copyright (c) 2012年 foxhis. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Imports2.h"
@class PluFood,PluCigarete,PluDrink;

@interface PluPlu : NSObject
@property (nonatomic, retain) NSString * pmCode;//大类代码
@property (nonatomic, retain) NSString * psCode;//小类代码
@property (nonatomic, retain) NSString * ppCode;//菜品代码
@property (nonatomic, retain) NSString * ppTemp;//临时菜标志 0-普通菜 1-临时菜
@property (nonatomic, retain) NSString * ppStatus;//0-未启用 1-启用

@property (nonatomic, retain) NSString * ppColor;//字体颜色
@property (nonatomic, retain) NSString * ppPosition;//位置
@property (nonatomic, retain) NSString * ppHelpCode;//帮助码
@property (nonatomic, retain) NSString * ppDescripts;//菜品描述JSON
@property (nonatomic, retain) NSString * ppImage;//菜品图片
@property (nonatomic, retain) NSString * ppRecommended;//0-普通菜  1-推荐菜
@property (nonatomic, retain) NSString * ppSeqNormal;//普通菜排序字段
@property (nonatomic, retain) NSString * ppSeqCommend;//推荐菜排序字段
@property (nonatomic, retain) NSString * ppType;//菜品类别 0-食品 1-香烟 2-酒水 3-套餐
@property (nonatomic, retain) PluFood * ppFood;
@property (nonatomic, retain) PluCigarete * ppCigarete;
@property (nonatomic, retain) PluDrink * ppDrink;
@property (nonatomic, retain) NSMutableArray * ppPluPkgs;//套餐明细

@property (nonatomic, retain) NSMutableArray * ppPluPrices;//菜品价格(PluPrice对象数组)
@property (nonatomic, retain) NSMutableArray * ppMyOrderDishes;//已点菜品(MyOrderDishes对象数组)

-(void)insertNewMyOrderDish:(NSString *)numberString price:(NSString *)price units:(NSString *)units;
-(void)insertNewMyOrderPkg:(NSString *)numberString price:(NSString *)price units:(NSString *)units;

-(void)updatePluFood;
-(void)updatePluCigarete;
-(void)updatePluDrink;
-(void)updatePluPkg;
-(void)updateMyOrderDishes;
@end
